package com.punai.datapush.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 eco_release_indicator
 *
 * @author zxw_
 * @date 2023-05-03
 */
public class EcoReleaseIndicator extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String verId;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String verName;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date releaseDate;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String releaseUser;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String releaseState;
    /**
     * CB(成本)/SR(收入)
     */
    @Excel(name = "CB(成本)/SR(收入)")
    private String releaseType;

    @TableField(exist = false)
    private String timeStart;
    @TableField(exist = false)
    private String timeEnd;

    @TableField(exist = false)
    private String[] dateRange;

    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }

    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }

    public String[] getDateRange() {
        return dateRange;
    }

    public void setDateRange(String[] dateRange) {
        this.dateRange = dateRange;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setVerId(String verId) {
        this.verId = verId;
    }

    public String getVerId() {
        return verId;
    }

    public void setVerName(String verName) {
        this.verName = verName;
    }

    public String getVerName() {
        return verName;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseUser(String releaseUser) {
        this.releaseUser = releaseUser;
    }

    public String getReleaseUser() {
        return releaseUser;
    }

    public void setReleaseState(String releaseState) {
        this.releaseState = releaseState;
    }

    public String getReleaseState() {
        return releaseState;
    }

    public void setReleaseType(String releaseType) {
        this.releaseType = releaseType;
    }

    public String getReleaseType() {
        return releaseType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("verId", getVerId())
                .append("verName", getVerName())
                .append("releaseDate", getReleaseDate())
                .append("releaseUser", getReleaseUser())
                .append("releaseState", getReleaseState())
                .append("releaseType", getReleaseType())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
